﻿using Microsoft.EntityFrameworkCore;
using StuWebApi.Entity;

namespace StuWebApi.Dto;

public class ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : DbContext(options)
{
    // DbSets declarations
    public DbSet<School> Schools { get; set; }
    public DbSet<Classroom> Classrooms { get; set; }
    public DbSet<Student> Students { get; set; }
    public DbSet<Log> Logs { get; set; }
}
